package com.douyu.water.core.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Rtu implements Serializable {
	private double waterdepth;//水位标高
	private double groundhigh;//地面高程
	private double waterlevel;//水位埋深
	private double sensordepth;//探头埋深
    private double highlevel;//井口高程
	private double watertemp;
	private byte[] commanddata;//监测频率
	private String stationnumber;
    private String stationname;  
    private String rtuserialnumber;    
    private String sensorserialnumber;    
    private String sensortypenumber;
    private String firmverson;
    private Integer password;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date setuptime;   
    private String longitude;    
    private String latitude;      
    private String simnumber;
    private Double battery;
    private String samplebegintime;
    private Integer sampleinterval;
    private String datatransbegintime;
    private Integer datatransinterval;
    private Double waterdensity;
    private Boolean airpressurecal;
    private String areaCode;
    private Integer factory;  
    private String flag;   
    private String batteryPic;
    private String warning;//报警
    private int commandsernum;
    public static String time="0400";
	public static String jiange="1440";
 
	public int getCommandsernum() {
		return commandsernum;
	}


	public void setCommandsernum(int commandsernum) {
		this.commandsernum = commandsernum;
	}


	public byte[] getCommanddata() {
		return commanddata;
	}


	public void setCommanddata(byte[] commanddata) {
		this.commanddata = commanddata;
	}

	
    public String getWarning() {
		return warning;
	}

	public void setWarning(String warning) {
		this.warning = warning;
	}


	public double getWaterlevel() {
		return waterlevel;
	}


	public void setWaterlevel(double waterlevel) {
		this.waterlevel = waterlevel;
	}


	public double getWatertemp() {
		return watertemp;
	}


	public void setWatertemp(double watertemp) {
		this.watertemp = watertemp;
	}


	public double getGroundhigh() {
		return groundhigh;
	}


	public void setGroundhigh(double groundhigh) {
		this.groundhigh = groundhigh;
	}


	public double getWaterdepth() {
		return waterdepth;
	}


	public void setWaterdepth(double waterdepth) {
		this.waterdepth = waterdepth;
	}


	
    
    public String getBatteryPic() {
		return batteryPic;
	}


	public void setBatteryPic(String batteryPic) {
		this.batteryPic = batteryPic;
	}


	public String getFlag() {
		return flag;
	}


	public void setFlag(String flag) {
		this.flag = flag;
	}


	public String getStationnumber() {
        return stationnumber;
    }


    public void setStationnumber(String stationnumber) {
        this.stationnumber = stationnumber == null ? null : stationnumber.trim();
    }


    public String getStationname() {
        return stationname;
    }


    public void setStationname(String stationname) {
        this.stationname = stationname == null ? null : stationname.trim();
    }


    public String getRtuserialnumber() {
        return rtuserialnumber;
    }


    public void setRtuserialnumber(String rtuserialnumber) {
        this.rtuserialnumber = rtuserialnumber == null ? null : rtuserialnumber.trim();
    }


    public String getSensorserialnumber() {
        return sensorserialnumber;
    }


    public void setSensorserialnumber(String sensorserialnumber) {
        this.sensorserialnumber = sensorserialnumber == null ? null : sensorserialnumber.trim();
    }


    public String getSensortypenumber() {
        return sensortypenumber;
    }


    public void setSensortypenumber(String sensortypenumber) {
        this.sensortypenumber = sensortypenumber == null ? null : sensortypenumber.trim();
    }


    public String getFirmverson() {
        return firmverson;
    }


    public void setFirmverson(String firmverson) {
        this.firmverson = firmverson == null ? null : firmverson.trim();
    }


    public Integer getPassword() {
        return password;
    }


    public void setPassword(Integer password) {
        this.password = password;
    }


    public Date getSetuptime() {
        return setuptime;
    }


    public void setSetuptime(Date setuptime) {
        this.setuptime = setuptime;
    }


    public String getLongitude() {
        return longitude;
    }


    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }


    public String getLatitude() {
        return latitude;
    }


    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }


    public double getSensordepth() {
        return sensordepth;
    }


    public void setSensordepth(double sensordepth) {
        this.sensordepth = sensordepth;
    }


    public double getHighlevel() {
        return highlevel;
    }


    public void setHighlevel(double highlevel) {
        this.highlevel = highlevel;
    }


    public String getSimnumber() {
        return simnumber;
    }


    public void setSimnumber(String simnumber) {
        this.simnumber = simnumber == null ? null : simnumber.trim();
    }


    public Double getBattery() {
        return battery;
    }


    public void setBattery(Double battery) {
        this.battery = battery;
    }


    public String getSamplebegintime() {
        return samplebegintime;
    }


    public void setSamplebegintime(String samplebegintime) {
        this.samplebegintime = samplebegintime == null ? null : samplebegintime.trim();
    }


    public Integer getSampleinterval() {
        return sampleinterval;
    }


    public void setSampleinterval(Integer sampleinterval) {
        this.sampleinterval = sampleinterval;
    }


    public String getDatatransbegintime() {
        return datatransbegintime;
    }


    public void setDatatransbegintime(String datatransbegintime) {
        this.datatransbegintime = datatransbegintime == null ? null : datatransbegintime.trim();
    }


    public Integer getDatatransinterval() {
        return datatransinterval;
    }


    public void setDatatransinterval(Integer datatransinterval) {
        this.datatransinterval = datatransinterval;
    }


    public Double getWaterdensity() {
        return waterdensity;
    }


    public void setWaterdensity(Double waterdensity) {
        this.waterdensity = waterdensity;
    }

    
    public Boolean getAirpressurecal() {
        return airpressurecal;
    }

  
    public void setAirpressurecal(Boolean airpressurecal) {
        this.airpressurecal = airpressurecal;
    }

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}


	public Integer getFactory() {
		return factory;
	}


	public void setFactory(Integer factory) {
		this.factory = factory;
	}
    
    
}